package com.xiaoxiao.pojo;

import io.github.biezhi.excel.plus.annotation.ExcelColumn;

public class SonarRule {
    @ExcelColumn(index = 0)
    private String key; // 规则的key
    @ExcelColumn(index = 1)
    private String name; // 规则名称
    @ExcelColumn(index = 2)
    private String severity; // 规则级别
    @ExcelColumn(index = 3)
    private String adopt; // 是否采用
    @ExcelColumn(index = 4)
    private String reason; // 不采用原因
    @ExcelColumn(index = 5)
    private String type; // 类型

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSeverity() {
        return severity;
    }

    public void setSeverity(String severity) {
        this.severity = severity;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAdopt() {
        return adopt;
    }

    public void setAdopt(String adopt) {
        this.adopt = adopt;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    @Override
    public String toString() {
        return "SonarRule{" +
                "key='" + key + '\'' +
                ", name='" + name + '\'' +
                ", severity='" + severity + '\'' +
                ", adopt='" + adopt + '\'' +
                ", reason='" + reason + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
